﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using CallbackService;

namespace CallbackClient
{
    class MyServiceClient : DuplexClientBase<IMyContract>, IMyContract
    {
        public MyServiceClient(InstanceContext callbackCntx)
            : base(callbackCntx)
        {
        }
        public int MyMethod()
        {
            int s = base.Channel.MyMethod();
            return s;
        }
    }

}
